package com.weixing.mall.provider.controller.pdm;

import com.weixing.mall.base.wrapper.Result;
import com.weixing.mall.base.wrapper.ResultUtil;
import com.weixing.mall.core.support.BaseController;
import com.weixing.mall.provider.service.IProjectOperationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author wx
 * @Date 2019/9/11 9:59
 * @Version 1.0
 */
@RestController
@RequestMapping("projectOperation")
@Api(value = "维护记录API",tags = "维护记录")
public class ProjectOperationController extends BaseController {

    @Autowired
    private IProjectOperationService projectOperationService;

    @ApiOperation(value = "查询")
    @GetMapping("")
    public Result selectList(){
        return ResultUtil.success(projectOperationService.selectListOfPage(initMpPage()));
    }

}
